package com.lanou3g.springmvc.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class TestController {

    @ResponseBody
    @RequestMapping("/intercepor")
    public String testIntercepor() {
        return "testIntercepor方法";
    }

    @ResponseBody
    @RequestMapping("/admin")
    public String testIntercepor1() {
        return "欢迎登录后台管理系统";
    }

}
